package com.example.nettydemo.pojo.vo;

import com.example.nettydemo.aspect.FieldConfig;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

/**
 * Author: wujing
 * Date:   2025/5/14 19:58
 * Description:
 */
@Data
public class TelCardAuthVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @FieldConfig(length = 1, type = Integer.class, order = 0)
    @JsonProperty("valid_flag")
    private Integer validFlag;

    @FieldConfig(length = 2, type = Integer.class, order = 1)
    @JsonProperty("Family_num")
    private Integer familyNum;

    @FieldConfig(length = 15, type = String.class, order = 2,beList = true)
    @JsonProperty("Family_msisdn")
    private List<String> familyMsisdn;

    @FieldConfig(length = 4, type = String.class, order = 3,beList = true)
    @JsonProperty("Family_relation")
    private List<String> familyRelation;

    @FieldConfig(length = 4, type = Integer.class, order = 4)
    @JsonProperty("message_num")
    private Integer messageNum;

    @FieldConfig(length = 14, type = Timestamp.class, order = 5)
    @JsonProperty("System_time")
    private Timestamp systemTime;
}
